/**
 * 将组织转换成组织树节点
 * @param it
 * @returns
 */
export var convertDept2DeptTreeNode = function convertDept2DeptTreeNode(dept) {
  return {
    key: dept.deptCode,
    parentKey: dept.parentCode,
    title: dept.deptName,
    type: dept.deptType,
    level: dept.deptLevel,
    isLeaf: dept.leaf,
    path: dept.deptPath,
    codePath: dept.codePath
  };
};
export var getPrefix = function getPrefix(isSubApp) {
  return isSubApp ? "/user-center/inner" : "/user-center";
};